export interface Response200<T = any> {
  code: 200
  message: string
  data?: T
}

export interface Response1001 {
  code: 1001
  message: string
  data: {
    errors: string
  }
}
export interface Response403 {
  code: 403
  message: string
  data: {
    errors: string
  }
}
export type Response<T> = Response200<T> | Response1001 | Response403

// export interface Response<T = any> {
//   code: 200
//   message: string
//   data?: T
// }

export type Language =
  | 'en'
  | 'zh_hk'
  | 'indonesia'
  | 'VI'
  | 'in_en'
  | 'ph'
  | 'mys'
  | 'zh'
  | 'pt'
